using System;
using System.Windows.Forms;
using System.Drawing;

namespace haxeProject {

	public class Node : TreeNode {

		public Node( String text ) : base(text) {			
		}

		public Icon icon {
			set {
				ImageIndex = value.index;
				SelectedImageIndex = value.index;
			}
		}
		
		public bool bold {
			set {
				NodeFont = new Font(this.TreeView.Font,value?FontStyle.Bold:0);
			}
		}

	}
}
